package com.syne.project.module.receiptdetail.mapper;

import com.syne.project.module.receiptdetail.domain.Receiptdetail;

import java.util.List;

/**
 * 收货明细 数据层
 *
 * @author ruoyi
 * @date 2018-08-29
 */
public interface ReceiptdetailMapper {
    /**
     * 查询收货明细信息
     *
     * @param storerkey 收货明细ID
     * @return 收货明细信息
     */
    public Receiptdetail selectReceiptdetailById(String storerkey);

    /**
     * 查询收货明细列表
     *
     * @param receiptdetail 收货明细信息
     * @return 收货明细集合
     */
    public List<Receiptdetail> selectReceiptdetailList(Receiptdetail receiptdetail);

    /**
     * 新增收货明细
     *
     * @param receiptdetail 收货明细信息
     * @return 结果
     */
    public int insertReceiptdetail(Receiptdetail receiptdetail);

    /**
     * 修改收货明细
     *
     * @param receiptdetail 收货明细信息
     * @return 结果
     */
    public int updateReceiptdetail(Receiptdetail receiptdetail);

    /**
     * 删除收货明细
     *
     * @param storerkey 收货明细ID
     * @return 结果
     */
    public int deleteReceiptdetailById(String storerkey);

    /**
     * 批量删除收货明细
     *
     * @param storerkeys 需要删除的数据ID
     * @return 结果
     */
    public int deleteReceiptdetailByIds(String[] storerkeys);

}